import service from '@/utils/request'

// 查询列表
export const querylistApi = (dataForm: any) => {
	return service.get('/systemManager/competentUnit/list', { params: dataForm })
}
// 用户更新
export const saveOrUpdateApi = (dataForm: any) => {
	return service.post('/systemManager/competentUnit/saveOrUpdate', dataForm)
}

// 用户更新
export const updateStatusApi = (dataForm: any) => {
	return service.get('/systemManager/competentUnit/updateStatus', { params: dataForm })
}

//住建委
// 查询列表
export const querylistApi1 = (dataForm: any) => {
	return service.get('/systemManager/CommissionOfHousing/list', { params: dataForm })
}
// 用户更新
export const saveOrUpdateApi1 = (dataForm: any) => {
	return service.post('/systemManager/CommissionOfHousing/saveOrUpdate', dataForm)
}

// 用户更新
export const updateStatusApi1 = (dataForm: any) => {
	return service.get('/systemManager/CommissionOfHousing/updateStatus', { params: dataForm })
}
